Repository navigation
Preserve card costs, icons, and slot triggers with alternate 3D models - #355
Closed
chytridi05 wants to merge 12 commits into
Conversation
Chaosyr
changed the base branch from
main
to
Update-Installation-Guides-and-Documentation-and-Bug-Fixes
November 27, 2026 18:22
Collaborator
|
Rebased this to the branch that will be used as the base for the next update. Please make sure your branch gets its base updated to work with it, if it currently would not. ^^ |
Collaborator
|
Was this made using Codex? We don't accept code made with AI models, unfortunately. In either case, I'm curious why you renamed so many of the parameter names; is there a particular reason? |
Author
|
Sorry about all the inconvenience, and I did use codex for the pr. it's fine if we will not accept it, and the pr will be closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
I ran into a few assumptions about the vanilla card hierarchy while developing 3DRenderer. A card can use a different 3D model from the one a scene normally supplies. In that case, Community Patch may address the wrong disk cost or icon objects. I also ran into stale slot callbacks when an assignment trigger moved the same card again.
Changes
GetPiecebehavior, and preserve the existing Paper and Disk cost-read and texture-callback order.CardCostRender.GetDisplayCostsas an opt-in cost snapshot for other renderers, including current vanilla and custom costs. 3DRenderer uses this API for Gravestone and Canvas.Verification
I’m opening this as a draft for upstream review of the rendering hooks and slot callback behavior.
— Helianthus (@chytridi05)